home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 5_programming / on / idle < prev    next >
Encoding:
Text File  |  2001-03-21  |  639 b   |  23 lines

  1. Synopsis:
  2.    on [<modes>]idle [<serial#>] [-|^]<match> { <action> }
  3.  
  4. Description:
  5.    This hook is triggered whenever the client's idle time reaches the given
  6.    value, in minutes.  The idle time is reset when the client is given a
  7.    command.
  8.  
  9. Parameters:
  10.    $0    minutes idle
  11.  
  12. Examples:
  13.    To automatically set the client away after being idle for 5 minutes:
  14.       on ^idle "5" {
  15.          away I'm not paying attention again...
  16.       }
  17.  
  18. Other Notes:
  19.    Irc servers don't have the same notion of "idle" as the client does.  To
  20.    most servers, the client only becomes unidle by sending a message to a
  21.    channel or a person.
  22.  
  23.